package com.pig4cloud.pig.buyan.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@TableName("car_style")
@Schema(description = "款式")
@EqualsAndHashCode(callSuper = true)
public class Style extends Model<Style>{
	@TableId(type = IdType.ASSIGN_ID)
	@Schema(description = "款式")
	private Long styleId;
	@Schema(description = "序号")
	private Long styleCode;
	@Schema(description = "款式")
	private String styleName;
	@Schema(description = "品牌")
	private Long brandId;
	@Schema(description = "型号")
	private Long modelId;
	@Schema(description = "备注")
	private String remark;
	@Schema(description = "删除")
	@TableLogic(value = "0", delval= "1")
	private String delFlag;


}
